package com.smfx.yxt.view;

import java.util.Date;

import com.smfx.yxt.common.enums.WorkApprovalStatus;
import com.smfx.yxt.common.enums.WorkApprovalType;
import com.smfx.yxt.utils.DateUtil;

public class PrintingPaperApprovalView {
	
	    private Integer id;

	    private String depart;
	    
	    private String applyer;

	    private Integer applyerId;

	    private String approver;

	    private Integer approverId;

	    private String ccList;

	    private String approvalType;
	    
	    private String approvalStatus;
	    
	    private String rejectReason;
	    
	    private Date applyTime;

	    private Date approvalTime;
	    //打印纸用途
	  	private String printingPaperUse;
	  	//使用地点
	  	private String usePosition;
	  	//审批明细
	  	private String applyItems;
	  	//备注
	  	private String remark;
	  	
	  	 private String applyTimeText;
	  	 
		 private String approvalTimeText;
		 
	  	 private String approvalTypeText;
		    
		 private String approvalStatusText;
		    

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getDepart() {
			return depart;
		}

		public void setDepart(String depart) {
			this.depart = depart;
		}

		public String getApplyer() {
			return applyer;
		}

		public void setApplyer(String applyer) {
			this.applyer = applyer;
		}

		public Integer getApplyerId() {
			return applyerId;
		}

		public void setApplyerId(Integer applyerId) {
			this.applyerId = applyerId;
		}

		public String getApprover() {
			return approver;
		}

		public void setApprover(String approver) {
			this.approver = approver;
		}

		public Integer getApproverId() {
			return approverId;
		}

		public void setApproverId(Integer approverId) {
			this.approverId = approverId;
		}

		public String getCcList() {
			return ccList;
		}

		public void setCcList(String ccList) {
			this.ccList = ccList;
		}

		public String getApprovalType() {
			return approvalType;
		}

		public void setApprovalType(String approvalType) {
			this.approvalType = approvalType;
			approvalTypeText = WorkApprovalType.getDesc(approvalType);
		}

		public String getApprovalStatus() {
			return approvalStatus;
		}

		public void setApprovalStatus(String approvalStatus) {
			this.approvalStatus = approvalStatus;
			approvalStatusText = WorkApprovalStatus.getDesc(approvalStatus);
		}

		public String getRejectReason() {
			return rejectReason;
		}

		public void setRejectReason(String rejectReason) {
			this.rejectReason = rejectReason;
		}

		public Date getApplyTime() {
			return applyTime;
		}

		public void setApplyTime(Date applyTime) {
			this.applyTime = applyTime;
			if(applyTime != null)
			applyTimeText = DateUtil.dateToStr(applyTime, DateUtil.DEFAULT_DATE_FORMAT);
		}

		public Date getApprovalTime() {
			return approvalTime;
		}

		public void setApprovalTime(Date approvalTime) {
			this.approvalTime = approvalTime;
			if(approvalTime != null)
			approvalTimeText = DateUtil.dateToStr(approvalTime, DateUtil.DEFAULT_DATE_FORMAT);
		}

		public String getPrintingPaperUse() {
			return printingPaperUse;
		}

		public void setPrintingPaperUse(String printingPaperUse) {
			this.printingPaperUse = printingPaperUse;
		}

		public String getUsePosition() {
			return usePosition;
		}

		public void setUsePosition(String usePosition) {
			this.usePosition = usePosition;
		}

		public String getApplyItems() {
			return applyItems;
		}

		public void setApplyItems(String applyItems) {
			this.applyItems = applyItems;
		}

		public String getRemark() {
			return remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}

		public String getApprovalTypeText() {
			return approvalTypeText;
		}

		public void setApprovalTypeText(String approvalTypeText) {
			this.approvalTypeText = approvalTypeText;
		}

		public String getApprovalStatusText() {
			return approvalStatusText;
		}

		public void setApprovalStatusText(String approvalStatusText) {
			this.approvalStatusText = approvalStatusText;
		}

		public String getApplyTimeText() {
			return applyTimeText;
		}

		public void setApplyTimeText(String applyTimeText) {
			this.applyTimeText = applyTimeText;
		}

		public String getApprovalTimeText() {
			return approvalTimeText;
		}

		public void setApprovalTimeText(String approvalTimeText) {
			this.approvalTimeText = approvalTimeText;
		}
		
}
